package com.mgface.framework.springboot.web;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import com.mgface.framework.entity.Person;

@RestController("orderController")
public class OrderController {
	@Autowired
	private List<Person> list;

	@RequestMapping("/orderbean")
	public String getBaseDao() {
		return list.toString();
	}
}
